package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.ERP.CustomerErpDTO;
import com.ruoyi.system.domain.ERP.DeptErpDTO;
import com.ruoyi.system.domain.ERP.UsersErpDTO;
import com.ruoyi.system.domain.base.BaseBom;
import com.ruoyi.system.domain.base.BaseBomDTO;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 物料清单Service接口
 *
 * @author ruoyi
 * @date 2023-02-07
 */
public interface IBaseBomService extends IService<BaseBom> {

    String BomInfoSync(List<BaseBomDTO> list);

    void getUsers();

    void getDepts();

    String getCustomer();

    String getSupplier();

    AjaxResult syncUsers(List<UsersErpDTO> userList);

    AjaxResult syncDepts(List<DeptErpDTO> deptList);

    AjaxResult syncSupplier(List<CustomerErpDTO> supplierList);
}
